package com.bayair.doctor.data.bean;

import java.util.List;

/**
 在服务中的患者（对应剩余事件和患者名称）
 */
public class ServerListResp {
    /**
     * code : 0
     * patients : [{"imname":"patiento5NUR","servertime":257679}]
     */

    private int code;
    private List<PatientsBean> patients;

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public List<PatientsBean> getPatients() {
        return patients;
    }

    public void setPatients(List<PatientsBean> patients) {
        this.patients = patients;
    }

    public static class PatientsBean /*implements Comparable<PatientsBean>*/{
        /**
         * imname : patiento5NUR
         * servertime : 257679
         */
        private String imname;
        private int servertime;

        public String getImname() {
            return imname;
        }

        public void setImname(String imname) {
            this.imname = imname;
        }

        public int getServertime() {
            return servertime;
        }

        public void setServertime(int servertime) {
            this.servertime = servertime;
        }
    }
}
